package homeword;

public class ArrayLestTest3Student {
    //私有化成员变量
    //空参构造方法
    //全参构造方法
    //get/set方法

    //私有化成员变量
    private String student;
    private int age;
    //空参
    public ArrayLestTest3Student() {
    }
   //全参
    public ArrayLestTest3Student(String student, int age) {
        this.student = student;
        this.age = age;
    }
    //get/set方法

    public String getStudent() {
        return student;
    }

    public void setStudent(String student) {
        this.student = student;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
